package cn.gaily.eduorder.feignclient;

import cn.gaily.commonutils.R;
import cn.gaily.commonutils.UcenterMemberOrder;
import io.swagger.annotations.ApiOperation;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.GetMapping;
import javax.servlet.http.HttpServletRequest;

@Component
@FeignClient(name = "serviceUcenter")
public interface UserClient {

    @ApiOperation(value = "获取人员信息给订单")
    @GetMapping("/eduucenter/member/getMemberInfoToOrder")
    public UcenterMemberOrder tokenToOrder(String id);

}
